Trying to make constructor matrix