aspect ratio correction formula