Correct spelling

IDLAYOUT-17
TitleUse correct spelling and punctuation in comments and write in complete sentences.
PriorityRecommended
Severity level7
DescriptionUse correct spelling and punctuation in comments and write in complete sentences, starting with a capital letter and ending in a period.
RationaleThis increases the readability of code. Error-strewn and poorly constructed comments reflect on the code they accompany.

Avoid:

% get sclaing factor
scaling_factor = new_z / current_z;
x_out = x_out * scaling_factor; % now recslaed

Instead use:

% Get the scaling factor.
scalingFactor = newZ / currentZ;
xOut = xOut * scalingFactor; % Now rescaled.