change in p-value calculation to accomodate 2-tailed calculation