semi working version of scalar projections to surface.  lots of bugs to tackle tomorrow