Fixed issue #56

Added conditions that check if a point is indeed inside an image when
using the `colorAt:` and `rgbVectorAt:` methods.