debugging; fixed sample_bp; a_phi->a_phi0+a_phi1;