added scalars.

also added g0, but it has no dependency on u