optimize SURF by
Inlining and customizing sampling functions to reduce memory traffic and compute
Improve calcOrientation implementation.
Using more efficient rounding routines.
Removing unnecessary use of local memory
Merge pull request #2014 from krodyush:pullreq/2.4-opt-131211-surf