Calculating protein mass