Initialized particle computation
added matlab