alternative fdtd serial program with ij looping for time comparisson