added reflection function
added: reflection, bilinear scaling, nearest-neighbor scaling