Fixed bug with variable timestepping; added CUDA compilation options (not functional yet); removed meanIterations.