Don't #include map twice.
Fixed int_to_string for small ints

Bogus comparison, added comment about usage.
Made it easier to convert zero-dimensional buffers to scalars.

Also stripped trailing whitespace.
Added dynamic type-check to interpreting buffers as scalars.
Marked Tuple constructors for export.
Support for inline argmax and argmin.

They return a Tuple of (coords, value)