Made some small functions inline

Also tested LU comp with this build.