Add method to get aspect ratio