Weighted distance measures for metabolomic data