Added Elliott's changes to get slope and aspect