change perline noise gen to fast mode, optimize ao calculations