Fixed compiler warning on QVectorDrive2

Fixed compiler warning about control reaching end of a non-void
function.  Also, now the function will still return the proper value
even if the programmer swaps the min and max inputs.