Vectorize sinc/cosc functions

Vectorize sinc/cosc function, extends definition to integers. Fix mistake in docs.