Also added matrix.median_scale attribute to get the average scale from the matrix, use for scaling bone envalopes.
svn status