added in directional bias to calcuations