bug fix in plot Region

region should be x
plotting bug fix

now need to pass in the region object when plotting a density object