added comments to code

breaking down matlb net build