Added new function getGainsConst that allows one to get the PID gains from a const PID class