Updating padded matrices to use double for testing