updating get_weights_nonmetric