Replaced rotation() with linear().
Replaced rotation() with linear().

Also replaced DBL_MAX to std::numeric_limits calls.

simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim