added versions of linear and mum algorithms that work with table bwttab