Corrected cell array indexing issue
Minor comment
Refactored for readability
Corrected struct accessing issue