Added cascade training and updated documentation