Madonna scheduled sex with Guy Ritchie around time in the gym