high performance generic spin dynamics simulator written in Java