Structure of poorly crystalline MoS2 — A modeling study