Move input/output operations to separate library; input matrix fixes.
Move example boundary conditions to example_input/