Implement Util quadratic solver and dot product.
Add preliminary code for alternative method of computing headTop.