A new technique for curve fitting based on minimum absolute deviations