adding editorconfig
fixes to log_calculation