add colour output
swap width and height, which were incorrectly ordered
add directionality parameter
pylint: fix commas