Fix coordinate normalization for negative coordinates
Update  deprecated methods