removed debug line
numerous bug fixes: inverted pixstep; central pixel offset