replaced sig with sigsq

replaced the standard deviation with the variance in the function input.