devel: Removed cout (debug)
devel: Added noexcept modifier
devel: Moved velocity calculation into a seperate method
devel: Moved step size reduction into a seperate method
devel: Added exception for dimensional mismatch
devel: Reduced locally reinitialised variables
devel: Moved acceptable state check into a seperate method

Same for velocity calculation
Merge branch 'master' of https://github.com/SebastianNiemann/OnlineOptimisation