fixed major typo in Vec2vector, currently working on 2d TE photonic crystal, debugging Passive.c