made basicReal inherit from InternalReal, added MathEnvironment trait defines calculation methods and accuracy