minor optimizations
added (some of) BoofCV library