Correcting issue with empty vectors that was discovered in first submission (everything except for rotate seems to be working now).