Calculate elevation statistics