added a method to load dynamic rasters
fixed a bug where width was being used as height