Basic State initialization

Including output of debugging of basic state array.