Bring the linear data structures up to spec.

Compiles (with warnings) on

rustc 0.11.0-pre (63287ee 2014-05-18 05:36:27 -0700).

Most warnings seemed to be unused code warning & appropriate for a lib.