made basicReal inherit from InternalReal, added MathEnvironment trait defines calculation methods and accuracy
Merge remote-tracking branch 'origin/develop-JK' into develop-MW
Merge remote-tracking branch 'origin/develop-MW' into develop-JK