Update skindetect.cpp

Added TODO in comments, dynamic allocation required, stackoverflow depending on compiler.