Track colour algorithm modified

Closes #103