initial commit, slapped darkplaces matrixlib in there