Makazole Mapimpi scored two tries as world champions South Africa returned to the top of the world rankings with a 32-15 win over Scotland at Murrayfield on Sunday.