rewrote for apoyo
rewrote for apoyo

git-svn-id: http://svn.code.sf.net/p/petavision/code/sandbox@6201 7c0444ca-5550-0410-9008-faecdbe78eb5

Former-commit-id: 268c50c3667ba1fe66f84d95337e8f8d1d17e4cd
dpaiton/OpenPV,PetaVision/OpenPV,dpaiton/OpenPV,PetaVision/OpenPV,dpaiton/OpenPV,dpaiton/OpenPV,PetaVision/OpenPV,PetaVision/OpenPV,PetaVision/OpenPV,dpaiton/OpenPV,dpaiton/OpenPV,dpaiton/OpenPV,dpaiton/OpenPV