weights now work with sigma values instead of arbitrary divsion