Vector transforms tested now, and fixed a few minor code-writing bugs