Improved performance significantly of assign route length script:-
 * Used buffers to avoid searching unnecessary stops
 * Reduced number of unnecessary Distance() calls.
Added some better info and error messages.