Changed getBlockInStructure to return an Integer Triplet instead of array