Added static methods to calculate sma for one day. Note: these should be
used in the instance too, but I havent changed that, the author should
do that. I also made it so that you can use the same instance more than
once (no double reverses)