Implement improved vindex and vreplace Blackboxes

Closes #12