Fixes a bug in createChannel if keyCount=1

If keyCount=1 the setPoint got keyValues+pointOffset as an argument which pointed to a wrong memory-address