fixed bug with change in PartitionTPA 

result := PartitionTPA(rifty, 20, 15); instead of PartitionTPA(rifty, 20, 15, result);
Fixed an verlooked change when TPAPartitionWrap was added to simba as a function