Changed cylinder input to float