Added protection for out-of-bounds #rank calls
Floor and ceiling, fixes #206, fixes #207.

Squashed commit of the following:

commit b985f7b52ca7b89ec50eddb3fde4f1fbee477a8e
Author: Sameer Deshmukh <sameer.deshmukh93@gmail.com>
Date:   Tue Apr 1 14:27:43 2014 +0530

    Typecasting fix

commit 9f4fa4a4470f6c51bec3d029f6c022d3704de836
Author: Sameer Deshmukh <sameer.deshmukh93@gmail.com>
Date:   Tue Apr 1 02:48:37 2014 +0530

    Amended Travis CI build error.

commit cdc55a23d42ee36cf7675f61909fac4ca9a34a20
Author: Sameer Deshmukh <sameer.deshmukh93@gmail.com>
Date:   Tue Apr 1 02:18:05 2014 +0530

    Exception handling added.

commit a257d286733096a97c658c235ca9a54513847ca2
Author: Sameer Deshmukh <sameer.deshmukh93@gmail.com>
Date:   Tue Apr 1 01:11:31 2014 +0530

    Rectified some errors in conversion to ruby object.

commit 5bfedc1801460e16a626501b15e21f7cfd7263cb
Author: Sameer Deshmukh <sameer.deshmukh93@gmail.com>
Date:   Sun Mar 30 03:37:41 2014 +0530

    Fixed bug with ruby object typecasting. Floor and ceil work great now.

commit a62f7400bd1a642a54ae97c36e3c33bdec000f88
Merge: 57f8d37 1795da3
Author: Sameer Deshmukh <sameer.deshmukh93@gmail.com>
Date:   Sun Mar 30 03:35:09 2014 +0530

    Merge branch 'master' of https://github.com/SciRuby/nmatrix

commit 57f8d37671fcd18fef019476cae5c515e2cef4b6
Author: Sameer Deshmukh <sameer.deshmukh93@gmail.com>
Date:   Mon Mar 24 23:08:40 2014 +0530

    removed newline

commit d307f763b7a07d26174d6d0f4075d651b2883981
Author: Sameer Deshmukh <sameer.deshmukh93@gmail.com>
Date:   Mon Mar 24 21:56:19 2014 +0530

    added ruby object

commit bff6b89a6df310a7c31d107c790e4c300d52e11d
Author: Sameer Deshmukh <sameer.deshmukh93@gmail.com>
Date:   Mon Mar 24 02:30:38 2014 +0530

    weird rspec error

commit 98cac0664ca606ed19f2e97de59e910eea034beb
Merge: 35d67ff 23373a2
Author: Sameer Deshmukh <sameer.deshmukh93@gmail.com>
Date:   Mon Mar 24 00:43:28 2014 +0530

    Merged new changes from parent branch

commit 35d67fff828d6275a82370ba0935f608e0bb5d50
Author: Sameer Deshmukh <sameer.deshmukh93@gmail.com>
Date:   Thu Mar 13 23:41:11 2014 +0530

    Added element wise floor functionality

    Element wise Ceil and Floor both work now.

    Rectified some mistakes in the code.

    Reworked floor and ceil.

    Removed casting from floor and ceil mappers.

    floor and ceil work properly for all but complex

    floor and ceil working well.

    removed c++ code

    optimized
Update history
Merge pull request #228 from andrewcsmith/issue-227-rank-allows-dimensions

Added protection for out-of-bounds #rank calls
Updated history for #228
Merge branch 'master' of github.com:SciRuby/nmatrix