Fixed sphere bug, added a more complicated example