Add some float helper functions
Correctly do nothing if pad is shorter than input
Add working pwelch implementation