add cone

refactor cylinder class
add cone

refactor cylinder class