Fixed a bug with scaling (it was trying to scale the image by 100x!), updated the algo description too.