Bug fix for the generate_vector_dist() function.
The limits function was being called even if not supplied! This change fixes that.
Authored by: bugman 2010-03-12
Parent: [r10983]
Child: [r10985]