minor improvement in tstep kernel.
Merge branch 'dev' into feature/tstep
make the tupan's ctype system more flexible.
Merge branch 'feature/tstep' into dev