Bootstrap functions, work on fitting code

- Start work on fitting code (still incomplete)
- Write weighting function to limit fit bounds
- Write bootstrap functions in pdmath.stats