code tidying
updated documentation date
svg gradient id initialised to random value