Designing a Software Receiver for Gesture Recognition with Ambient Light