Initialize variables

(closes #4410)