Added mapping of the Gains

Gain mapping added
- Now can generate any number of gains that you may wish to use
- TODO add retraction/extension gains and code to do this