Adding more functions

max, min, clip, neg and threshold
Merge pull request #6 from zhxnlai/master

Adding more functions