Changed bad-station filter to use pierce points
Use inv() from numpy instead of pylab