Adds implementation of solve, solve' and solveCell.