removed unuse code.
update
modified a scale function.
update sample.
bug fixed.
Merge branch 'dev' into gh-pages