Added some line distance and point stuff

Need to verify it, making draw calls for primitives should be useful for
checking/debugging etc