Weights-class function

Class "Weights"