Add equation method and a better printing way
Fix code quality failures
Add check for consistency of frequency and time_period