Better V memory access

rewrote the read v memory and added writing directly to Y0 outputs
(works if the output isn't tied to any rung in the ladder code)