Started work on matrix class