address #60 and #63

updateWts()
sqrt(weights)