Code for generating the scale dependant bias model presented in Poole et al 2014a