fixed: wrong variable dimension
examples fixed
S3 doc fit