Fix naming convention of window function

All adjusted to lower case