Improvement to RTMath