support for lazy matrix cache and improved eviction and registration of
models
fixed matrix cache creation calls