Writing tiled decompose function.
Added findpackage(MPI) to CMakeLists.txt, added some things needed for qt creator, and finally am switching to explicitly listed source files.
Added braces around if statement for safety and for folding behavior.