Fixed initialization bug with Vector3d classes not being set to 0 properly. Updated mac makefile.