Bug fixes

- pdmath bugfixes:
	- Typecasting bugs in lowess and polysmooth
- bscan bugfixes:
	- Fix ramp indexing bug for unpadded data

Signed-off-by: Dustin Ngo (MacBook) <dustin.ngo@gmail.com>