Reorder kmath and ke/utils/math dependencies

Test Plan: load test.html and testrender.html locally