Added period (for moving average) getters and setters