added latex equation rendering using matplotlib