Measuring Rao's quadratic entropy (Q) from remote sensing: an open source solution