Added representation for intervals.
Changed constant gain signal function to allow change of dimension.
Further progress on autopilot.