Updated RandTools library to Rand and updated methods accordingly