Implementation of a multi-scale model of bacterial chemotaxis