Update mpg.py

Had the function read_float return a value instead of print.