Completed the solving of cells using matrix reduction. Possible efficiency improvements can be made, but it is still fairly speedy.