update optimizer and pycharts
Merge pull request #17 from krispo/master

update alg