diff --git a/Signal Processing/Array Processing/MATLAB/Functions/firstOrderDma.m b/Signal Processing/Array Processing/MATLAB/Functions/firstOrderDma.m
index 6377e7bfc7cec136601be228043f700c18675cf0..b7b04409e548dd779b6acea0cf2bcfa9e028825e 100644
--- a/Signal Processing/Array Processing/MATLAB/Functions/firstOrderDma.m	
+++ b/Signal Processing/Array Processing/MATLAB/Functions/firstOrderDma.m	
@@ -3,7 +3,7 @@
 % Author: Achilles Kappis
 % e-mail: axilleaz@protonmail.com
 %
-% Date: 04/12/2024 (DD/MM/YYYY)
+% Date: 04/01/2025 (DD/MM/YYYY)
 %
 % Copyright: MIT
 % --------------------------------------------------
@@ -12,13 +12,6 @@
 % --------------------------------------------------
 % Input
 % 
-% input [numeric]: The input to the array. 3D array/matrix with dimensions
-%                  MxIxF, where M represents the number of microphones and
-%                  must be even, I is the number of measurments (or number
-%                  of sources), and F is the number of frequencies of
-%                  interest. Each microphone pair is treated as a first
-%                  order DMA.
-% 
 % freq [numeric]: The frequencies of interest. A vector with number of
 %                 elements matching the third dimension of the "input"
 %                 parameter.
@@ -50,6 +43,13 @@
 %                            appropriate value is automatically set, and
 %                            this argument is ignored. [Default: 0]
 % 
+% input [numeric]: The input to the array. 3D array/matrix with dimensions
+%                  MxIxF, where M represents the number of microphones and
+%                  must be even, I is the number of measurments (or number
+%                  of sources), and F is the number of frequencies of
+%                  interest. Each microphone pair is treated as a first
+%                  order DMA.
+% 
 % --------------------------------------------------
 % Output
 % 
@@ -97,7 +97,7 @@ function [h, output] = firstOrderDma(freq, d, pPattern, beta, input)
     end
 
     % Check alpha (angle of null)
-    if nargin > 2 && ~isempty(pPattern);
+    if nargin > 2 && ~isempty(pPattern)
         if isstring(pPattern) || ischar(pPattern)
             validateattributes(pPattern, {'char', 'string'}, {'scalartext', 'nonempty'}, mfilename, 'Polar pattern', 3);
         elseif isnumeric(pPattern)