Corrected Taylor expansion in normalizeTay function.