Philippe 09/12/2016: replaced obsolete calls to math functions (DCOS->COS, DATAN...