Adding fast fn to calculate liouville function values