Total least squares method for the purpose of noise reduction in low-cost MRI images