sophisticated location of flat and rough areas implemented. Needs
debugging.
fixed missing return in check for no flat areas.
code runs and finds rough and flat areas in a good way. Memory leak in
the process that needs fixing.
updated todo list.