Basic C framework extracted from TISEAN 3.0.1 and derived programs