Earth radius as optional argument