Fixed magnetic case derivatives. Added label legend to GUI. Added plot dimension controller to GUI