monospline fixes; update magnetic example