added "working" OMP code and tidied up/fixed bugs in image_learn.  To do add metrics