Cosine window

A simple implementation of a cosine/sine windowing function.