fixing two small bugs
(#387)
wrapped images in getShear() method
(#387)