Coding the Matrix - Philip Klein 
It used to have a Coursera course, but I think it's been taken down. The website has videos of the course taught at Brown I think.
The associated website is: http://codingthematrix.com
It is legal, not a pirated version.