silv_sqrmean_diameter function

Calculates the quadratic mean diameter (QMD)