Allows longs as row indexes and improve exception message.

Closes #25