Cache patient results by CID so that clones have different results
Small code cleanup in patient materialization
Remove the obsolete matrix view (no longer worked with deferred calculation)