Replace "math" module objects usage with "numpy" similar objects.