Added numpy polyfit and polyval functions with units.