Minimize squared error instead of abs error in LinMedReg
Implement NMS using BB area.
Merge branch 'issue22' into rec_text