Best performance for initialising a variable number of matrices/vectors within a Crank-Nicolson scheme