Removed unsafe operations from Data.Array.Base