hanning_standalone / conv_sub_1d / T_to_J

Three contributions : 
1. Wrote standalone Hanning window function
2. Improved conv_sub_1d in simplicity and speed
3. Refactored the prototype of T_to_J