Primordial non-gaussianity from inflation