Update rock_detection.cpp

Added missing #include