Cesium with magicktiler tileset

Has anyone tried Cesium with a tileset generated using magicktiler? https://code.google.com/p/magicktiler/ I have been trying to do this with limited success.

I managed to get the correct bounding rectangle for a small TMS tileset, but the TileMapServiceImageryProvider wouldn't work and formatted the urls incorrectly. I had a bit more success with this UrlTemplateImageryProvider:

var provider = new Cesium.UrlTemplateImageryProvider({
   url : host + '/{z}/{reverseX}/{y}.jpg',
   rectangle : rectangle,
   tilingScheme : new Cesium.GeographicTilingScheme(),

but when I zoom in or tilt the map I get a console error

Cesium.js:470 An error occurred while rendering. Rendering has stopped.
TypeError: Cannot read property 'east' of undefined
TypeError: Cannot read property 'east' of undefined
    at Q.H._createTileImagerySkeletons

Has anyone had any success using Cesium with small custom tilesets like this, or offer any advice about this error?

many thanks in advance