added sphere to triangle mesh function