fixing error output for Z-score calculation -- should calculate errors at non-zero  points...