Changed Layout and Solve Percent of sum mass v.2