changed profile.h to jet_alg.h; working on jet origin function