I tidied and documented the code to be more readable and explain the numbers a bit.
I also decided to colourise it, but because it is an old design it won't be announced by feed or reappear on the front gallery page,
so I'm inviting everyone to see its new look here.http://www.contextfreeart.org/gallery/view.php?id=1153
Kochlea rewritten
Moderators: MtnViewJohn, chris, mtnviewmark