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