fixed bug with vertex merging

vertex merging now works, looks pretty bitchin