(SDK) Move math/matrix code to SDK