Added support for simple matrix operations in the scheduler.
Prepared matrix integration.

Significantly cleaned dynamic to symbolic mapping.