working on maxwell.py for use of class and tfluct