Midpoint method integration

Added midpoint method to calculations.js
Added getter to model.js
Added option to use eulers or midpoint
Midpoint is currently the default option for testing