print_dispersion function

Prints the dispersion of a numeric vector