code cleanup

- updated net margin module to follow coding standards