added internal profiler plus c timestep kernel
update from ref
update from ref
missed some changes
bug in vertex definition