3d hpc matrix with stride functions