deleted some function
state vector implemented and more major changes to bring everything together