fixed documentation and bug in dac library