Fixed problem with 'xlim' parameter; started allowing more parameters