major refactoring, implemented Floquet multipliers