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: power.m
    path of file: ./repos/mtex/SO3Fun/@SO3Fun
    
    the code of the file until where you have to start completion: function SO3F = power(SO3F,a)
% overloads |SO3F.^2|
%
% Syntax
%   SO3F = SO3F.^2
%
% Input
%  SO3F - @SO3Fun
%  a - double
%
% Output
%  SO3F - @SO3Fun

    
function SO3F = power(SO3F,a)
% overloads |SO3F.^2|
%
% Syntax
%   SO3F = SO3F.^2
%
% Input
%  SO3F - @SO3Fun
%  a - double
%
% Output
%  SO3F - @SO3Fun
%

if ~isnumeric(a)
  error('The exponent has to be numeric.')
end