tweaks to cones.c