     var fadeTimer = NSTimer()
     var fadeScheduleTimer = NSTimer()
     
-    let cadTimerRate: Double = 1/60
+    let cadTimerRate: Double = 1 / 60
     var cadDelayTimer: CADisplayLink?
     var cadUpdateTimer: CADisplayLink?
     var cadTimerIncrement: Int = 0

        self.output = output
    }
    
    func scheduleFade(fireTime: Double) {
        //this schedules a fade to start after fireTime + the offset
        let millis = NSDate().timeIntervalSince1970*1000

        stepCounter = 0
    }
    
    static func denormalize(input: Double,
                            minimum: Double,
                            maximum: Double,
                            taper: Double) -> Double {
        if taper > 0 {
            // algebraic taper
            return minimum + (maximum - minimum) * pow(input, taper)
