pageMargins definition changed

pageMargins can now be defined as an Array or a number