Added vertexApply function, which has same interface as mincApply
Added documentation and testing for anatApply (which has different interface than mincApply/vertexApply)