added max.time argument
added w and sigma to figure title