Update 25b

Added functional gravity.