Added get_motion_params function to mechanics core

Added get_motion_params method to get accln, velocity and position as functions of time given a time-dependent vectorial function and boundary conditions