Modularity is now calculated right. Perhaps a small loss in speed. Must
be profiled
Added a todo.md file to keep track of tasks