a simple demo of numpy scipy and matplotlib