Fixing random initialization

#111