Fixed color space conversions + found segmentation fault in Pyramid.cpp