Fixed a segfault resulting from no found cylinders and added gdb debug mode