Update - Refactored get random equation function.