added JavaDocs comments and simplified particle systems example