added matlab from hw4 to start first simulation