add toExponential at proper location
fix bug mr memory to use calculate()