Fixed initialization problems
Merge pull request #3 from mauricio9308/model_definition

Fixed initialization problems
Now workd
Pull request #4