diff --git a/scripts/check_points.m b/scripts/check_points.m
index 4dcd7cff43a3b4ffac1c6816442c0aa3153d7234..d0ee5bb6f9fbf31a2a4e511de9feea3f666ebde3 100644
--- a/scripts/check_points.m
+++ b/scripts/check_points.m
@@ -1,17 +1,17 @@
-function [ nw, on] = check_points( x, a,b , isvertical)
+function [ northWest, on] = check_points( x, a,b , isVertical)
 %check_points Determines which of a number of 2D points in x lie north (west)
 % of the line ax + b and if any points lie on the line
 %   If the line is vertical, the constant x-value goes in the input a
 
-if isvertical
-    nw = x(:,1) < a;
-    on = x(:,1) == a;
+if isVertical
+    northWest   = x(:,1) < a;
+    on          = x(:,1) == a;
 elseif a == 0
-    nw = x(:,2) > b;
-    on = x(:,2) == b;
+    northWest   = x(:,2) > b;
+    on          = x(:,2) == b;
 else 
-    nw = a*x(:,1) + b < x(:,2);
-    on = a*x(:,1) + b == x(:,2);
+    northWest   = a*x(:,1) + b < x(:,2);
+    on          = a*x(:,1) + b == x(:,2);
 end
 
 end