Development of OPT, algorithm allowing brewing devices to use variable pressure for multiple beverages