same as previous commit
got rid of some debug stuff
moved assign outputs to assigning params
moved parameter error checking to parameter initialization
merged params Hamiltonian building methods with initHamiltonian