cache optimization
fix #4592: broken per-piece coldet
lmp wasn't reset ...
switch to safer/cleaner c++ code
fix multiple bugs in per-piece coldet
missing insidehit detection
returned wrong piece when multiple pieces got hit
...
get rid of ugly #define CYLINDER_CASE(a,b,c)