New features:
+gradually removing and replacing old and broken fortran code +small improvements, comments, indentation