Cleaned up Model matrix accumulation