Fixed uninitialized value warnings

Corrected variable names, removed warnings about uninitialized values
created from new methods of calculating p-values