Generalized origin defined

Instead of just one point, now "origin" means all points in a square
neighborhood of the origin whose size can be defined. Score computation
is accordingly modified.