Converted inverse function and multiplications for calculating mBeta to
a solver.