BUGFIX: colouring functions do not modify input.
Removed unnecessary copy in colouring functions.
Merge pull request #13 from andreirusu/master

BUGFIX: colouring functions do not modify input