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