Fixed logical bug in diploid package. Continued implementing on diploid
package.