Added resizing method to fit UIImage within given size constrains