Fixed error in Twfahp by first initializing the Float array with all zero.