Added integrateTrapezoids method to calculate the total volume