Modeling diamond deposition in a plasma assisted CVD reactor