1. Add matrix solution.