setting up a basic matrix