Added function for setting splines; converted an assertion into a warning when beads are very close; fiex crash when helices lack crossovers