Solves partial differential equations using matrices.