Added random init.

Signed-off-by: matematik7 <domen.ipavec@z-v.si>