gprot.py: Calculate the end of the protein automatically

Also remove comment about the need to adjust pairs for correct scaling
since explicit pair parameter writing has been introduced previously.