A variant of random way point mobility model to improve routing in wireless sensor networks