You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: ApplyGaussianBlur.m
    path of file: ./repos/FastGuassianBlur
    
    the code of the file until where you have to start completion: function [ mBlurredImage ] = ApplyGaussianBlur( mInputImage, gaussianKernelStd, stdToRadiusFactor )

    
function [ mBlurredImage ] = ApplyGaussianBlur( mInputImage, gaussianKernelStd, stdToRadiusFactor )
% ----------------------------------------------------------------------------------------------- %
% [ mBlurredImage ] = ApplyGaussianBlur( mInputImage, gaussianKernelStd, stdToRadiusFactor )
%   Applies Gaussian Blur on an image
% Input:
%   - mInputImage       -   Input Image.
%                           Structure: Image Matrix (Single Channel)
%                           Type: 'Single' / 'Double'.
%                           Range: [0, 1].
%   - gaussianKernelStd -   Gaussian Kernel Standard Deviation.
%                           The STD of Gaussian Kernel used to blur the image.
%                           Structure: Scalar
%                           Type: 'Single' / 'Double'.
%                           Range: (0, inf).
%   - stdToRadiusFactor -   Standrd Deviation to Radius Factor.
%                           Used to calclate the radius of the truncated
%                           Gaussian Kernel.
%                           Structure: Scalar
%                           Type: 'Single' / 'Double'.
%                           Range: (0, inf).
% Output:
%   - mOutputImage      -   Output Image.
%                           Structure: Image Matrix (Single Channel)
%                           Type: 'Single' / 'Double'.
%                           Range: [0, 1].
% Remarks:
%   1.  This function is imitation of Photoshop's Gaussian Blur function.
%   2.  Each of the channels is processed independ