Added demomatrix creation