BUG Check for errors

If a short shift or zoom array was passed, then unallocated memory was
accessed. This would cause erratic behaviour.