Added some state routines (like transformation and interpolation)