Adding perfect node functionality to the model and PM.
Merge remote-tracking branch 'origin/master' into bstrong
Removing console.log used for testing.