Fixed SObel classifier y/x confusion.
Improved resolution calculation.