Principles of nanomagnetism. (2017)