PrismMesh and TesseroidMesh raise exception when passed non-integer shapes

Fixes #98 found by @hbueno. This bug lead to weird results in the inversion by planting densities.