Add randomness helper, srand in main
New speed algorithm and orientation