calculate some spectrums for 1 and 2 spins systems