fixed AP Gain calculation for deploying resonators

sorry, I messed it up a bit while rewriting it to constants