added new file for calculation functions. Currently has Var for calculating variables along a track