Wait. previewWidth and previewHeight have already been rotated once. Now you're rotating them again?  On a 90 degree sensor angle that puts us back where we started.  And with a 0 degree sensor angle it puts is back where we started, too.  So does the sensor angle really matter?