added canvas example
fixed sum-functional
output in document