Tidying coord calculations