added sin window function
fixed whitespaces
Revert "replaced hardcoded numbers with constant"
gcc does not compile

This reverts commit 1312a96e2a6fdb815f1cc6021149bade22ab8c60.