Added Twfahp and fixed initialize to set the non-edge members of the array to 0