Added test for 3D registratio using the EM metric. Removed plotting functions and added some documentation