DimmWitted: A Study of Main-Memory Statistical Analytics