Improve madsonic formula.