Fixing the function that loaded haar wavelets from file (it was appending to the end of the haar wavelets vector an aditional empty haar wavelet). Reusing the load function in some the haarcheck script.