Added InputDim() and OutputDim() methods to predictor