Commited library ver 1.1 (added JFrame, smoothing)