Fix Python wrappers for matrix getters on shear, ellipse (#396)

Just a small fix to a feature no one else is probably using, but it's in an area where my original code had to be changed to work with NumPy 1.7, so I'd like to get some testing by someone running that before merging.