Use Makefile for tests
Fix flake8 errors
Add calculate_all_columns script