Update declination function, add description