added getConeBoundaries method, so now only cones.c and cones.h have knowledge about cone structure