edited move routine; fixed range bug for animal movement to handle variable map size