Changed n.ma.average to n.ma.mean in lstbin.py, correct a weird casting to float bug.