Added proper p-val calculation