Fixed problem constructing weight matrices for Tajima's D and Fay and Wu's H