Started implementing a Matrix version solver