Gravar-mail: Optimal Halbach Permanent Magnet Designs for Maximally Pulling and Pushing Nanoparticles