Adding spherical/adjust functions

Signed-off-by: Cristian Maureira-Fredes <cmaurei@aei.mpg.de>