fix broken underflow() and overflow() methods
Merge pull request #404 from ndawe/axis

[MRG] fix broken underflow() and overflow() methods