made methods of calculations; fixed mpg_calc