Refactored convolve() and added methods for basic statistical parameters in LineScan.py