Modified C generator.  Speeds up code by factor of 10.
Further improved C generator.