Work in progress

Basic idea behind the DAC, slowly working through