The effects of surface fossil magnetic fields on massive star evolution – II. Implementation of magnetic braking in mesa and implications for the evolution of surface rotation in OB stars. Issue 1 (25th January 2020)