Changed reg read/write functions to use nbytes param
Merge pull request #28 from xross/master

Reg read and write functions now use nbytes param
Removed data[0] being overwritten
Merge pull request #29 from xross/master

removed data[0] being overwritten in read_reg
Merge pull request #1 from xcore/master

Updates from master