SK | Adding Matlab solution to Legendre wavelets