Architectural pattern generation by discrete wavelet transform and utilisation in structural design