Explude some pycharm files
Test the loopcalculate functions
Import files clear, some old commented code too
improved test