Scanning Probe Investigations of Magnetic Nanoparticles, Protein Binding and the Synthesis of Rare Earth Oxide Nanoparticles Using Nanoscale Lithography