Refactored matrix functions