Efficient Micromagnetics For Magnetic Storage Devices