add support to add object by keyboard

could add mushroom and cone by keyboard pressing.
besides, fix bugs in matlab code.
and it is easy to add more objects such as billboards.