fixed many typos
add example using models1d