Clean up test prog & fix potential numerics issue
delta_t was being accumulated using "+=" It will be more accurate to multiply delta_t with the timestep
delta_t was being accumulated using "+=" It will be more accurate to multiply delta_t with the timestep