Changed the way parameters are given to magcreator functions (now as tuples) Implemented the real space approach to get phase images (works, but slow!)