Fix errors in orthogonal penalty