Constructing new matrices and investigating their determinants