Added gravity function

make black holes random