Fixed errbit integration
Merge pull request #63 from ndbroadbent/fix_errbit

Fixed errbit integration