Added option not to normalize data before calculating weights