Fixed Totient Bug