finished everything except the derivation of the bias expansion