Added generating random point on sphere and hemisphere.