Completely re written the way in which we calculate the Y axis and other bug fixes. Examples no longer work so will need to re-write the example files