Initial checkin for local min/max filter

Could you please elaborate here about the plane onto which points are projected during computation?