Fixed the definition for the statespace and updated the discritization.
Fixed the definition for the stock information arrays.