I'm not sure if "math" counts as an algorithm. And I'm not sure if you're using velocity as a buzz word or a technical term.