Added setUseCuda when a new matrix is constructed from another with use cuda flag