Added a function that determines the max number of sequential mults
merged sequential mult calculation with Travis's new fhe functions