socket cache compability updates

SvGetSocketAnyType
SvSetSocketAnyType
Some code review in sphere and random
Sphere: do not calc verts unless vertices are connect, removed some
O(N) operations, (list.pop(0) in for loop)
Random, removed function , list comprehension is enough