moved BTGComputation to algorithms package