Primal or Dual Cone Projections with Routines for