gpv and rate_from gpv

The two files work, and have code to thoroughly test them.