Flip the input variables if desired, and fix a comment.