import emcee, triangle, only on needed functions