Performance improvement by replacing division with reciprocal multiplication.
Remove deprecated function argument.
More performance optimization.