handle boxing of state args as longs if (long v) is found in state form of generator macro
made phase modulatable in vphasor