I was just trying it out from first principles but can see where I've gone wrong, any tips for the second query I mentioned or any tips on removing unwanted harmonics