gravitational potential module in C added