Initial IHJ magnetic model support. Some first attempts at integrating Theano optimization.
Re-ran performance test with more points.