fix bugs
update example
add matrix
fix bug
update example