Added Model.scala, change Array decl to use ".ofDim"