Added #[inline] to unit and length functions; fixed lack of newlines at end of some files