Fixed RebuildProject to use len(mdtraj.open())