Added conditional statement to to catch divide by zero exception
Corrected misnamed reciprocal square root function
Corrected misnamed function